package com.blockchain.console.service.financial.entity;

import com.blockchain.framework.http.upload.UploadFile;

public abstract class RechargeQrCode {

	/**
	 * 充值二维码1
	 * 
	 * @return {@link UploadFile}
	 * @throws Throwable
	 */
	public abstract UploadFile getFirstImage() throws Throwable;

	/**
	 * 充值二维码1
	 * 
	 * @return {@link UploadFile}
	 * @throws Throwable
	 */
	public abstract UploadFile getSecondImage() throws Throwable;

	/**
	 * 充值二维码1
	 * 
	 * @return {@link UploadFile}
	 * @throws Throwable
	 */
	public abstract UploadFile getThirdImage() throws Throwable;

	/**
	 * 充值二维码1
	 * 
	 * @return {@link UploadFile}
	 * @throws Throwable
	 */
	public abstract UploadFile getFourthImage() throws Throwable;

	public boolean isEmpty() throws Throwable{
		return getFirstImage() == null && 
				getSecondImage() == null &&
				getThirdImage() == null &&
				getFourthImage() == null;
	}
}
